<template>
    <div>
        <h1 ref="refsEle">refs</h1>
        <h3>{{count}}</h3>
        <p>{{name}},{{age}},{{sex}}</p>
        <button @click="add">没事就点我</button>
    </div>
</template>

<script>
    export default {
        name : 'Heater',
        props:['name','age','sex','count'],
        methods:{
            add(){
                console.log(this);
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>